<?php
	$mysqli = new mysqli('localhost', 'root', 'password', 'ukkepuk');
	if($mysqli->connect_error){
		die('Connect Error (' . $mysqli->connec_errno . ') ' . $mysqli->connect_error);
	}
	
	if (mysqli_connect_error()) {
    die('Connect Error (' . mysqli_connect_errno() . ') '
            . mysqli_connect_error());
	}

?>